package com.example.mongopro.service;

import com.example.mongopro.domain.actCustomAgent;
import com.example.mongopro.repository.actCustomAgentRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class actCustomAgentService {


    @Autowired
    private actCustomAgentRepository CustomAgentRepository;

    public List<actCustomAgent> findAll(){
        return CustomAgentRepository.findAll();
    }
}
